﻿using Logistics.DataAccess;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Logistics.Manager
{
    public class LoginManager
    {
        LoginDao loginDao = new LoginDao();

        /// <summary>
        /// 检测是否可以连接到oracle
        /// </summary>
        /// <returns></returns>
        public bool PinConnection()
        {
            return loginDao.PinConnection();
        }

        public object tc_owi001(string l_tc_owr009)
        {
            return loginDao.tc_owi001(l_tc_owr009);
        }

        public DataTable GetProductionInfo(string l_tc_owi001, string l_date)
        {

            return loginDao.GetProductionInfo(l_tc_owi001, l_date);
        }

    }
}
